package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.StockBill;
import cn.wolfcode.car.business.query.StockBillQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockBillMapper {
    int deleteByPrimaryKey(String id);

    int insert(StockBill record);

    StockBill selectByPrimaryKey(Long id);

    List<StockBill> selectAll();

    int updateByPrimaryKey(StockBill record);

    List<StockBill> selectForList(StockBillQuery query);

    StockBill selectByBillId(Long id);


    void changeStatus(@Param("id") Long id, @Param("status") Integer status);
}